package cc.wsyw126.java.jvm.reflectThinking;

/**
 * Created by Administrator on 2017/4/17.
 */
public class TestGet {
    private Get get = new Get();
    public void testGet() throws Exception {
        MyClass myClass = new MyClass(12);
        Object count = get.getProperty(myClass, "count");
        System.out.println("count = " + count);
    }

    public static void main(String[] args) throws Exception {
        TestGet testGet = new TestGet();
        testGet.testGet();
    }
}
